package com.vip.jwt.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 登录日志
 * </p>
 *
 * @author vip
 * @since 2021-05-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_logger_online")
@ApiModel(value="LoggerOnline对象", description="登录登出日志表")
public class LoggerOnline implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "用户")
    private String username;

    @ApiModelProperty(value = "登录或退出")
    private String type;

    @ApiModelProperty(value = "设备")
    private String device;

    @ApiModelProperty(value = "IP")
    private String ip;

    @ApiModelProperty(value = "时间")
    private Date logTime;


}
